﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace YixiaoIdentity.Auth.Models
{
    public class Sys_Controllers
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Guid Id { get; set; }

        public  Sys_Roles Roles { get; set; }//生成的外键名称格式为"对象名称_主角名称"
        public string Name { get; set; }

        public string ShownName { get; set; }

        public string IsShown { get; set; }

        public string SortCode { get; set; }

        public  List<Sys_Actions> Actions { get; set; }
    }
}
